package com.example.commonexport.entity;


import lombok.Data;

@Data
public class ExportResult {
    private final boolean result;
    private final String filePath;
    private final String errorMessage;

    public ExportResult(boolean result, String filePath, String errorMessage) {
        this.result = result;
        this.filePath = filePath;
        this.errorMessage = errorMessage;
    }

    public boolean isSuccess() {
        return result;
    }

    public String getFilePath() {
        return filePath;
    }

    public String getErrorMessage() {
        return errorMessage;
    }
}    